package com.base.common;

import java.io.Serializable;

import org.operamasks.faces.annotation.Accessible;
import org.operamasks.faces.annotation.ManagedBean;
import org.operamasks.faces.annotation.ManagedBeanScope;
import org.operamasks.faces.component.grid.CellSelectionModel;
import org.operamasks.faces.component.grid.CheckboxSelectionModel;
import org.operamasks.faces.component.grid.GridSelectionModel;
import org.operamasks.faces.component.grid.RowSelectionModel;

/**
 * 选择模式类
 * 
 * 
 */
@ManagedBean(name = "selectionModel", scope = ManagedBeanScope.NONE)
public class SelectionModel implements Serializable {
	@Accessible
	public final static CheckboxSelectionModel checkbox = new CheckboxSelectionModel();
	public final static CellSelectionModel cell = new CellSelectionModel();
	public final static RowSelectionModel row = new RowSelectionModel();
	public final static GridSelectionModel grid = new GridSelectionModel();
}
